package cn.edu.qzuie.artist.module.td.controller.admin.region.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import java.util.*;


@Schema(description = "管理后台 - 地域新增/修改 Request VO")
@Data
public class RegionSaveReqVO {

    @Schema(description = "表id", requiredMode = Schema.RequiredMode.REQUIRED, example = "156")
    private Long id;

    @Schema(description = "地区名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "泉州市")
    @NotEmpty(message = "地区名称不能为空")
    private String name;

    @Schema(description = "父id", example = "13")
    private Long parentId;

    @Schema(description = "地区等级", example = "2")
    private Integer level;

}